package top.glkj.hms.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.glkj.hms.dao.StaticValueDao;
import top.glkj.hms.entity.StaticValue;
import top.glkj.hms.service.StaticValueService;
import top.glkj.hms.utils.Result;

/**
 * @author : xgl
 * @version : 0.0.1
 * @date :2021/3/2 2:29
 */
@Service
public class StaticValueServiceImpl implements StaticValueService {
    private final StaticValueDao staticValueDao;

    @Autowired
    public StaticValueServiceImpl(StaticValueDao staticValueDao) {
        this.staticValueDao = staticValueDao;
    }

    /**
     * 获取所有用户，按分页方式
     *
     * @return List<T>
     */
    @Override
    public Result getAll() {
        return null;
    }

    /**
     * 获取所有用户，按分页方式
     *
     * @param id id
     * @return T t
     */
    @Override
    public Result getOne(Long id) {
        return null;
    }

    /**
     * 修改或者保存
     *
     * @param staticValue T t
     * @return true or false
     */
    @Override
    public Result save(StaticValue staticValue) {
        return null;
    }

    /**
     * 彻底从数据库中删除实体{T}
     *
     * @param staticValue T t
     * @return true or false
     */
    @Override
    public Result delete(StaticValue staticValue) {
        return null;
    }

    /**
     * 标记删除
     *
     * @param staticValue T t
     * @return true or false
     */
    @Override
    public Result remove(StaticValue staticValue) {
        return null;
    }

    @Override
    public Result getStaticValueByName(String name) {
        return null;
    }
}
